<?php
Session_start();
//View
require_once ("View/loginview.php");
require_once ("View/navigationview.php");
require_once ("View/EventView.php");
//Handler
require_once ("Handler/loginHandler.php");
require_once ("Handler/EventHandler.php");
//controller
require_once ("Controller/loginController.php");
require_once ("Controller/NewUserController.php");
require_once ("Controller/EventController.php");
$body = "";
//anrop - view
$NavigationView = new NavigationView();
//anrop - Handler
$LoginHandler = new LoginHandler();
//anrop - Controller
$LoginController = new LoginController();

$EventController = new EventController();
$EventHandler = new EventHandler();
$EventView = new EventView();
$body = $EventController -> EventController(); 
$title = "Evenemang";

?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link rel="stylesheet" type="text/css" href="css/reset.css" />
		<link rel="stylesheet" type="text/css" href="css/basic.css" />
		<link href='http://fonts.googleapis.com/css?family=Cabin+Sketch:700' rel='stylesheet' type='text/css'>
		<title>inloggning</title>
	</head>
	<body>
		<div class="header">
			<h1>Evenamngskalendern</h1>
		</div>
		<div class="login">
			<?php
			//Skriver ut innehållet i $body till dokumentet.
			echo $body;
			?>
		</div>
	</body>
</html>